//
//  DianpingStore
//  Dianping
//
//  Created by 祝文博 on 15/3/4.
//  Copyright (c) 2015年 KevinLab. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DianpingStore : NSObject

@property (nonatomic, assign) NSInteger id;
@property (nonatomic, strong) NSURL *sPhotoUrl;
@property (nonatomic, strong) NSURL *photoUrl;
@property (nonatomic, strong) NSString *name;
@property (nonatomic, strong) NSString *address;

- (instancetype)initWithAttributes:(NSDictionary *)attributes;

+ (instancetype)initWithId:(NSInteger) id name:(NSString *) name address:(NSString *) address sPhotoUrl:(NSURL *) sPhotoUrl photoUrl:(NSURL *) photoUrl;

+ (void)getStoreListWithParams:(NSDictionary *)params resultBlock:(void (^)(NSArray *, NSError *))resultBlock;

@end
